import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
// import reportWebVitals from './reportWebVitals';

// antd 英文文案切换为中文
import {ConfigProvider} from 'antd';
import zhCN from 'antd/es/locale/zh_CN';

import './util/http'

ReactDOM.render(
    // 关闭严格模式
  // <React.StrictMode>
    <ConfigProvider locale={zhCN}>
        <App />
    </ConfigProvider>,
  // </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
// reportWebVitals();
